#pragma once

#include <QDialog>
#include "ui_SettingClass.h"
#include "SettingWidget.h"
#include "Setting.h"


class SettingClass : public QDialog
{
	Q_OBJECT

public:
	SettingClass(QWidget *parent = Q_NULLPTR);
	~SettingClass();

	Setting setting;

protected slots:
	void on_btnOk_clicked();
	void on_btnCancel_clicked();

private:
	void showEvent(QShowEvent *event) override;	

	QVector<SettingWidget*> m_settingItems;	

	Ui::SettingClass ui;
};
